package it.carlom.stickyheader.example;


import java.util.ArrayList;
import java.util.List;

/**
 * 数据源工具类
 */
public class Utils {
    private static final int COUNT_ITEMS = 500;

    /**
     * 获取数据源
     *
     * @return List<String>
     */
    public static List<String> getData() {
        List<String> elements = new ArrayList<>(COUNT_ITEMS);
        for (int i = 0; i < COUNT_ITEMS; i++) {
            elements.add("row " + i);
        }
        return elements;
    }
}
